package com.wksc.authority.dao;

import com.wksc.authority.model.SysAuthorityGroup;
import com.wksc.framework.dao.BaseDao;
import org.springframework.stereotype.Repository;

/**
 * 权限组Dao
 * @author Zero
 */
@Repository
public class SysAuthorityGroupDao extends BaseDao {

    /**
     * 保存权限组
     * @param group 权限组对象
     */
    public void saveAuthorityGroup(SysAuthorityGroup group) {
        this.save(group);
    }

    /**
     * 修改权限组
     * @param group 权限组对象
     */
    public void updateAuthorityGroup(SysAuthorityGroup group) {
        this.update(group);
    }

    /**
     * 删除权限组
     * @param id 权限组id
     */
    public void deleteAuthorityGroup(long id) {
        this.delete(SysAuthorityGroup.class, id);
    }



}
